package edu.java.homework.hw09.exercises.nikolay.food.salad;

import edu.java.homework.hw09.exercises.nikolay.food.product.MilkProduct;
import edu.java.homework.hw09.exercises.nikolay.food.product.SpiceProduct;
import edu.java.homework.hw09.exercises.nikolay.food.product.VegetableProduct;

public class ShoppSalad extends Salad {

    // --- Instance Variables --------------------------------------------------

    private MilkProduct whiteCheese;
    private VegetableProduct[] vegetables;
    private SpiceProduct[] spices;

    // --- Constructors --------------------------------------------------------

    public ShoppSalad(int price) {
	super(price);
    }

    public ShoppSalad(VegetableProduct[] vegetables, MilkProduct whiteCheese,
	    SpiceProduct[] spices, int price) {
	super(price);
	this.vegetables = vegetables;
	this.whiteCheese = whiteCheese;
	this.spices = spices;
    }

    // --- Getters and Setters -------------------------------------------------

    public VegetableProduct[] getVegetables() {
	return vegetables;
    }

    public void setVegetables(VegetableProduct[] vegetables) {
	this.vegetables = vegetables;
    }

    public MilkProduct getWhiteCheese() {
	return whiteCheese;
    }

    public void setWhiteCheese(MilkProduct whiteCheese) {
	this.whiteCheese = whiteCheese;
    }

    public SpiceProduct[] getSpices() {
	return spices;
    }

    public void setSpices(SpiceProduct[] spices) {
	this.spices = spices;
    }

    // --- Methods (Object) ----------------------------------------------------

    @Override
    public String toString() {
	return "Shopp Salad";
    }
}
